﻿

namespace Huirui.Cavan.Domain.MainBoundedContext.SystemModule
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Huirui.Cavan.Domain.Seedwork;

    [Serializable]
    public class SysController:Persistent
    {
        public virtual string Name { get; set; }
        public virtual string ChineseName { get; set; }
        public virtual bool IsAllowedNoneRoles { get; set; }
        public virtual bool IsAllowedAllRoles { get; set; }
        public virtual IList<SysAction> Actions { get; set; }
        public virtual Module Module { get; set; }

        public override string ToDisplay()
        {
            return Name;
        }
    }
}
